package com.heima.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.heima.daoInterface.IStaffDao;
import com.heima.domain.Staff;
import com.heima.serviceInterface.IStaffService;
import com.heima.tools.PageBean;
@Service
@Transactional
public class StaffServiceImpl implements IStaffService {
	@Resource
	private IStaffDao staffDao;

	@Override
	public void save(Staff model) {
		staffDao.save(model);
	}

	@Override
	public void pageBeanQuery(PageBean pageBean) {
		staffDao.pageBeanQuery(pageBean);
	}
}
